﻿using MediatR;
using MES.Server.API.Dto.ProcessProceduresDTO;
using ReturnValue;

namespace MES.Server.API.Application.Command.Process_Procedures.ProcessFlow
{
    public class AddProcessFlowCommand:IRequest<ApiResult<int>>
    { 
        /// <summary>
        /// 工艺流程编号
        /// </summary>
        public string FlowCode { get; set; }
        /// <summary>
        /// 工艺流程名称
        /// </summary>
        public string FlowName { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public long PersonId { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public long DepartmentId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        public List<ProcedureDTO> Procedures { get; set; }
    }
}
